package com.x86.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.x86.domain.UserLoginLog;
import com.x86.domain.UserLoginLogVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 风亦未止
 * @date 2022/4/13 13:54
 */
@Mapper
public interface UserLoginLogMapper extends BaseMapper<UserLoginLog> {
    /**
     * 获取登录日志
     * @return
     */
    List<UserLoginLogVO> getLogList();

    /**
     * 获取日志数量
     * @return
     */
    Integer getLogCount();
}